About Raster Operation Codes
This appendix
lists and describes the binary and ternary raster operations used by graphics
device interface (GDI). A binary raster operation involves two operands: a pen
and a destination bitmap. A ternary raster operation involves three operands: a
source bitmap, a brush, and a destination bitmap. Both binary and ternary
raster operations use Boolean operators.